using System;
using System.Collections.Generic;
using System.Text;

using OurMediaPlayer.Logic;

namespace OurMediaPlayer.Logic.Filters
{
    public class Filter
    {
        public Filter()
        {
            this.Active = false;
            this.Complete = true;
            this.StartTime = 0;
            this.EndTime = 0;
            this.Xmin = 50;
            this.Xmax = 270;
            this.Ymin = 50;
            this.Ymax = 190;
        }

        public virtual void Process(byte[] source, IntPtr destination, MediaInfo videoInfo) 
        {
            Console.Out.WriteLine("Generic Filter Process.");
        }

        //States if Filter is active
        public bool Active;

        public bool Complete;

        public int Xmin;

        public int Xmax;

        public int Ymin;

        public int Ymax;

        public double StartTime;

        public double EndTime;
    }
}
